package de.haw.HES.Datentypen;

import java.io.Serializable;

public class Euro extends Currency implements Serializable {
	
	public Euro(Double amount) {
		this.amountOfCurrency = amount;
	}

	public Euro add(Euro other) {
		return new Euro(this.getAmountOfCurrency() + other.getAmountOfCurrency());
	}
	
}
